package com.project.poetry.service.entity.po.job;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 定时日志表
 * @author mengxj
 */
@Data
@TableName("hq_job_log")
public class SysJobLogPO {

    @TableId
    private Long id;

    @ApiModelProperty("sys_job 表id")
    private Long jobId;

    @ApiModelProperty("描述")
    private String descriptor;

    @ApiModelProperty("类名")
    private String beanId;

    @ApiModelProperty("bean")
    private String beanName;

    @ApiModelProperty("方法名")
    private String methodName;

    @ApiModelProperty("参数")
    private String params;

    @ApiModelProperty("调度结果")
    private String result;

    @ApiModelProperty("错误标识")
    private String errorTip;

    private LocalDateTime createTime = LocalDateTime.now();
}
